Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Make sure we test some failure states #21

Merged
merged 4 commits into from
Feb 7, 2024
Merged

Conversation

freider
Copy link
Collaborator

@freider freider commented Feb 6, 2024

Tests would previously pass silently for syntax errors.
This adds plugin tests to check that both assertions and syntax errors lead to failed tests.

Also cleans up some unneccessary """ sequences in artificial markdown docs created during tests

@freider freider requested a review from mwaskom February 6, 2024 20:19
@@ -75,17 +75,18 @@ def runtest(self):
try:
tree = ast.parse(self.code)
except SyntaxError:
return
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦

@freider freider merged commit 8fdb936 into main Feb 7, 2024
6 checks passed
@freider freider deleted the freider/test-fails branch February 7, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants